package com.glorystone.ins.domain;

import lombok.Data;

import java.math.BigDecimal;

public @Data
class EaringPoint {
    private Long tid;

    private Long productId;

    private Integer type;

    private Integer paymentDays;

    private BigDecimal earnings;

    private String time;

    public enum TypeEnum{
        //不垫资
        TYPE_STATUS_N0(1),
        //垫返点
        TYPE_STATUS_YES(2),
        //垫全保费
        TYPE_STATUS_ALL(3);
        private Integer value;

        public Integer getValue(){
            return this.value ;
        }
        private TypeEnum(Integer value) {
            this.value = value;
        }
    }

}